Function Completion

Contents:

- Define  - How its work - dialogInstallation - Credits  and Contact

 


Version Info


Author: Niceboy_DvD
Released Date: June 11 2005
Version: 1.0
Required: mIRC 6.16 or later


 

  1. Preface:

    * This is a new tool to perform many completion base on $identifier . what's the actually need of it :
    - first to remove nick completion. It's useless to do it because mIRC has built-in, so I think I'm just need to change word style. That's the main purpose
    - second use to quickly perform some custom identifiers, a "/run command" for them

    * What are functions or identifiers: let's use command /help identifiers or check mIRC for details. if you're not familiar with identifiers then this tool may be a bit hard to use with you, however I have supported some default functions, hope it can be a good tool
    * What is the trigger ? : the trigger means a word to help script identify where should be replaced. It can be any word. you can set it whatever you want, It's placed before a replace word or sentence.
    * $1- : use as a short form of  all words (parameter) which you want to transfer into function/identifier

     

  2. How its work

    * This is the way how its work, I take an example for easy , let's use default trigger mark "+f" and a default setting
    Type in  mIRC Edit box: we need to change word Nickname to : +f Nickname

    Print out (..) :

    - you can see script change your input to :  we need to change  the word Nickname to : [Nickname]

     

    now use it in a second way like this :

    Type in  mIRC Edit box: we need to change the word Nickname to : +f1 Nickname

    Print out (..) :  (please check result in mIRC )


    * the format to trigger completion is ... +f[Num] <Parameter> ....
    - what is [Num] ? : It means the number represent for the identifier, should be written after the trigger, for example: +f1, +f2, +f100 ....

    - To use +f[Num]  you must assign an identifier for a  Number, you  can use "function list"  in the dialog to do that job ,at first push "Add button" , then assign an identifier  for a number, I have added $default for 1 and you have seen the result above. the limited is  you can use only one parameter  for your identifier .

    - [Num] = 0 : this is apply for default function

      to set default function (identifier) , you have  2 ways

    1) you can choose one option in  "set default function" box ( "change $1- follow this style" or ".... follow nick completion style") 

    2) Uncheck all options  on "Set Default function"  box , and  assign an identifier for number 0 ,  then It will perform your identifier.

     

    + with parameter, mark ""  is accepted .

     For example :

    Input: I always love you , +f "my love"
    then: "my love" will be treated as a parameter to transfer into function/identifier

    "$1-"  = "my love" (in this case)

    + Please read installation carefully  to install it

    + This script active in all most window (except Custom window)

     

  3. dialog:

    It has

    - A check box to enable or disable this function
    - An edit box where you can set your trigger (after "trigger(s)" text)
    - 2 check buttons to select default function or remove it :
       + The first is the completion style which you want to change <word> or <Nickname> to , I have used some Ecronika tags here (also thanks him because an associated identifier)
       + The second is some default styles which you can choose them to perform color
    - Finally, that is a function list, where you can assign number for your identifiers.
     

  4. Installation

    1) unzip all files to a folder (default Fcomp)
    2) Open your mIRC and type: /load -rs <the path of fcomp.mrc> example /load -rs Fcomplete\fcomp.mrc
    (if you install it on mIRC Dir otherwise please specific full fcomp.mrc 's path )
    3) After that you could see mIRC ask to run Load event (initialization commands ), push yes , for finish , now you are ready

     Notes : the process to install it may take a long time and It could change input event if It already has
    * If you have already  had more than one Input event - this  script could change your input or load as first script (depends on your choice)

    * If you want to change your modify script back to original status. please open remote (push Alt-R) then find  Fcomp.handle  (on Input event of your modified script) and delete these words: " if $alias .... | "  but you should know exactly where you can delete or just leave it  because there is no harm to have it there

     * If you can not install this script \, please contact me for help


    - To uninstall : choose unload in menu bar (temporary unload ) first then you can delete folder where you install the add-on
     

  5. Credits and contacts

    - If you have any question or bug/comment please send it to dvd21us@yahoo.com
    - My web site : http://risedvd.tripod.com
    - Thanks Ecronika (some aliases), Dragonzap (Mdx), dohcan(dialog studio)
    - Thanks www.mIRC.net and www.mircscripts.com where I post my stuffs